package com.zcc.makingfriend.mapper;

import com.zcc.makingfriend.dao.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author xiaomi
 */
@Mapper
public interface CommentMapper {

    int addComment(Comment comment);

    int deleteComment(Long id);

    int isLikeComment(Long id, Long likes);

    int reportComment(Long id);

    List<Comment> findCommentsByArticleId(Long articleId);
}
